package com.xbongbong.pro.smartsettings.pojo;

import com.xbongbong.pro.domain.entity.AiAssistantHistoryEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @description: 智能助手有效记录pojo
 * @Author: hongxiao
 * @date: 2019-05-10 16:26
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class SsHistoryValidPojo implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 智能助手id
     */
    private Long smartSettingsId;
    /**
     * 添加的记录
     */
    private List<AiAssistantHistoryEntity> addList;
    /**
     * 更新的记录
     */
    private List<AiAssistantHistoryEntity> updateList;
    /**
     * 失效的记录
     */
    private List<Long> invalidIdsList;
    /**
     * 待处理是否失效的数据
     */
    private List<AiAssistantHistoryEntity> waitInvalidList;
    /**
     * 添加&更新的数据ids
     */
    private List<Long> addAndUpdateIds;
    /**
     * 待处理是否失效的数据ids
     */
    private List<Long> waitInvalidIds;

    public SsHistoryValidPojo() {
        this.addList = new ArrayList<>();
        this.updateList = new ArrayList<>();
        this.invalidIdsList = new ArrayList<>();
        this.waitInvalidList = new ArrayList<>();
        this.addAndUpdateIds = new ArrayList<>();
        this.waitInvalidIds = new ArrayList<>();
    }
}
